package com.isoft.data.dao;

import com.isoft.data.xml.Ckoe;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CkoeDao {
    @Insert("insert into CKOE(SEQN,DDTM,FLID,FFID,FIDE,FATT,STAT,ISTA,FCRE,MSTA,MIST,MCRE) " +
            "VALUES(#{ckoe.meta.seqn},#{ckoe.meta.ddtm},#{ckoe.dflt.flid},#{ckoe.dflt.ffid},#{ckoe.dflt.fide}" +
            ",#{ckoe.dflt.fatt},#{ckoe.dflt.stat},#{ckoe.dflt.ista},#{ckoe.dflt.fcre}" +
            ",#{ckoe.dflt.msta},#{ckoe.dflt.mist},#{ckoe.dflt.mcre})")
    void addCkoe(@Param("ckoe") Ckoe ckoe);
}
